<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <link href="${ctx}/bjui/css/login.css"	rel="stylesheet">
  <link href="${ctx}/bjui/themes/admin/B-JUI/themes/css/bootstrap.min.css" rel="stylesheet">
  <script src="${ctx}/bjui/js/jquery-1.7.2.min.js"></script>
  <script src="${ctx}/bjui/themes/admin/B-JUI/js/jquery.cookie.js"></script>
  <script src="${ctx}/bjui/js/sha256.js"></script>
  <script src="${ctx}/bjui/js/login/login.js"></script>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>登录首页</title>
</head>
<body>
<div class="main_box">
  <div class="setting"><a href="javascript:;" onclick="choose_bg();" title="更换背景"><span class="glyphicon glyphicon-th-large"></span></a></div>
  <div class="login_box">
    <!-- <div class="login_logo">
        <img src="img/logo.png" >
    </div> -->
    <c:if test="${!empty message}">
      <div class="login_msg">
        <font color="red">${message }</font>
      </div>
    </c:if>
    <div class="login_form">
      <input type="hidden" value="${randomKey}" id="j_randomKey" />
      <form action="${ctx}/login" id="login_form" method="post">
        <input type="hidden" name="jfinal_token" value="${jfinal_token }" />
        <div class="form-group">
          <label for="j_username" class="t">账　户：</label> <input id="j_username" value="" name="loginName" type="text" class="form-control x319 in" autocomplete="off">
        </div>
        <div class="form-group">
          <label for="j_password" class="t">密　码：</label> <input id="j_password" value="" name="passWord" type="password" class="form-control x319 in">
        </div>
        <div class="form-group">
          <label for="j_captcha" class="t">验证码：</label> <input id="j_captcha" name="j_captcha" type="text" class="form-control x164 in">
          <img id="captcha_img" alt="点击更换" title="点击更换" src="${ctx}/getValidateImage" onclick="changeValidateImage();" class="m">
        </div>
        <div class="form-group">
          <label class="t"></label>
          <label for="j_remember" class="m"><input id="j_remember" type="checkbox" value="true">&nbsp;记住登陆账号!</label>
        </div>
        <div class="form-group space" >
          <input type="submit" id="login_ok" value="&nbsp;登&nbsp;录&nbsp;" class="btn btn-primary btn-lg">&nbsp;&nbsp;&nbsp;&nbsp;
          <input type="reset" value="&nbsp;重&nbsp;置&nbsp;" class="btn btn-default btn-lg">&nbsp;&nbsp;&nbsp;&nbsp;
          <a type="button" class="btn btn-default btn-lg" href="register" data-toggle="doajax">注册</a>
        </div>
      </form>
    </div>
  </div>
  <div class="bottom">Copyright &copy; 2016 - 2017 <a href="#">用户中心管理 - 系统登陆</a></div>
</div>

</body>
</html>